package ddd

import (
	"gitee.com/alex_li/amazon-rpt/cmd/rpt/ddd/client"
	"gitee.com/alex_li/amazon-rpt/cmd/rpt/ddd/rpt"
	"gitee.com/alex_li/amazon-rpt/cmd/rpt/ddd/schedule"
	"github.com/lishimeng/app-starter/server"
)

func Router(root server.Router) {
	api := root.Path("/api")
	client.Router(api.Path("/client"))
	schedule.Router(api.Path("/schedule"))
	rpt.Router(api.Path("/rpt"))
}
